package com.jwdf.uda.event;

import com.jwdf.uda.utils.EventBusUtil;

/**
 * 类说明：单品分类选择
 * 作者：huangqiuxin on 2016/6/13 14:57
 * 邮箱：648859026@qq.com
 */
public class CategorySelectEvent implements EventBusUtil.IEvent{
    private int bigCategoryId;
    private String bigCategoryName;
    private int sedCategoryId;
    private String sedCategoryName;

    public static CategorySelectEvent newInstance(int bigCategoryId, String bigCategoryName, int sedCategoryId, String sedCategoryName){
        CategorySelectEvent event = new CategorySelectEvent();
        event.setBigCategoryId(bigCategoryId);
        event.setBigCategoryName(bigCategoryName);
        event.setSedCategoryId(sedCategoryId);
        event.setSedCategoryName(sedCategoryName);
        return event;
    }

    public int getBigCategoryId() {
        return bigCategoryId;
    }

    public void setBigCategoryId(int bigCategoryId) {
        this.bigCategoryId = bigCategoryId;
    }

    public String getBigCategoryName() {
        return bigCategoryName;
    }

    public void setBigCategoryName(String bigCategoryName) {
        this.bigCategoryName = bigCategoryName;
    }

    public int getSedCategoryId() {
        return sedCategoryId;
    }

    public void setSedCategoryId(int sedCategoryId) {
        this.sedCategoryId = sedCategoryId;
    }

    public String getSedCategoryName() {
        return sedCategoryName;
    }

    public void setSedCategoryName(String sedCategoryName) {
        this.sedCategoryName = sedCategoryName;
    }
}
